<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="description" content="很多时候我们看文章，觉得有一些不适合我们的地方，或者觉得自己能写的比他更好。但是往往你不可能提起很大勇气来写，现在加入我们吧。集合大家的力量来写文章"/>
    <meta name="keywords" content=<%= @keywords || "太监文章 续写 小说 文学 群体 团体 连接" %>/>
    <meta name="author" content="234aini@gmail.com"/>
	<link rel="shortcut icon" href="images/grape.png"> 
	<%= stylesheet_link_tag "jquery-ui-1.8.4.custom"%>
	<%= stylesheet_link_tag "showLoading"%>
    <link rel="stylesheet" type="text/css" href="/stylesheets/novellink.css" media="screen"/>
    <link rel="stylesheet" type="text/css" href="/stylesheets/novel_ui.css" media="screen"/>
	<!--For development, include 'jquery-1.4.2.js but product, please include 'jquery.1.4.2.min'-->
	<%= javascript_include_tag 'jquery/jquery-1.4.2' %> 
	<!-- jquery.cookie.js -->
	<%= javascript_include_tag 'jquery/jquery.cookie.js' %>
	<%= javascript_include_tag 'jquery/jquery-ui-1.8.4.custom.min' %>
	<%= javascript_include_tag 'jquery/jquery.showLoading.min' %>
	<!--NiftyCube/niftycube-->
	<%= javascript_include_tag :all, :cache => true %>
    <title><%= @page_title || "Novels" %></title>
</head>
<body>
<div class="header">
    <div class="user_block">
        <%= render :partial=>"/users/user_states" %>
    </div>
    <!-- end #header -->
</div>
<div class="clear"></div>
<div id="navigator">
	<div class="logo"><h1>Link novel</h1></div>
	<ul id="nav">
    <li class="activelink" style="padding-left:3px;"><%= link_to "主页", {:controller=>"novel", :action=>"index"}%> </li>
    <li><%= link_to "文章列表", {:controller=>"novel", :action=>"list"}%></li>
    
    <!--<li><%= link_to "动态", {:controller=>"all"}%></li>-->
    <li><%= link_to "关于", {:controller=>"about"}%></li>
	</ul>
</div>
<div id="container">
    <div id="mainContent">
        <%= yield :layout %>
        <!-- end #mainContent --></div>
    <div id="sidebar">
        <%= content_for_sidebar %>
        <%= yield :sidebar %>
    </div>
    <br class="clearfloat"/>

    <div id="footer">
        <div class="fnav">
            <%=link_to "关于",:controller=>"about",:action=>"index"%>
        </div>
        <div>&copy; 2008-2009 liusu.com, all rights reserved</div>
        <!-- end #footer --></div>
    <!-- end #container --></div>
</body>
</html>

